#pragma once
#include<iostream>
#include<string>
#include<vector>
#include<fstream>
#include <functional>
#include <algorithm>
#include<iomanip>

using namespace std;




class Person {
public:
	//operator menu
	virtual void operMenu() { return; }
	string m_Uname;
	string m_Pwd;
	int m_SID;
	void PushPerson(vector<Person> Vp,int type);
	void addPerson(Person* p);
	void viewPerson(vector<Person> Vp, int type);
	bool checkRepeat(int id, int type, string name);
	vector<Person> P_buyer, P_seller;
};